from django.shortcuts import render, render_to_response

# from django.http module import HttpResponse class
from django.http import HttpResponse
# Create your views here.

import datetime
# first view method
def hello(request):
	# return HttpResponse("hello world")
	ctime = datetime.datetime.now()
	name_list = ['test1', 'test2', 'test3']
	return render_to_response('hello.html', {'key':ctime, 'name_info':name_list})

def index(request):
	return render_to_response('index.html')